#pragma once
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdint.h>
typedef float (*TempBuffPoint)[4];

void initCache();
float CalTemp(float surfTemp, float envTemp, int interval);
bool suspectOpen();
bool sensorOff();
TempBuffPoint getBufferCache();
int getBuffValidLen();
int getBuffStartIndex();
